//
// Stock.hpp for plazza in /home/peelou/SVN/pizzaillo
// 
// Made by gery baudry
// Login   <baudry_g@epitech.net>
// 
// Started on  Mon Apr 15 14:37:15 2013 gery baudry
// Last update Mon Apr 15 20:15:20 2013 florian dewulf
//

#ifndef		STOCK_HPP__
# define	STOCK_HPP__

#include	"Mutex.hpp"
#include	"Plazza.hpp"

typedef unsigned int u_int;

class		Stock : public Mutex
{
public:
  Stock(int);
  virtual	~Stock();

public:
  void		re_stock();

public:
  u_int		getDoe() const;
  u_int		getTomato() const;
  u_int		getGruyere() const;
  u_int		getHam() const;
  u_int		getMush() const;
  u_int		getSteak() const;
  u_int		getChevre() const;
  u_int		getLovechief() const;
  u_int		getEggplant() const;
  int		getTime() const;

public:
  void		setDoe(u_int );
  void		setTomato(u_int );
  void		setGruyere(u_int );
  void		setHam(u_int );
  void		setMush(u_int );
  void		setSteak(u_int );
  void		setChevre(u_int );
  void		setLovechief(u_int );
  void		setEggplant(u_int );

public:
  u_int		_doe;
  u_int		_tomato;
  u_int		_gruyere;
  u_int		_ham;
  u_int		_mush;
  u_int		_steak;
  u_int		_chevre;
  u_int		_lovechief;
  u_int		_eggplant;
  int		_time;
};

#endif
